import { type AxiosRequestConfig } from 'axios';
export interface ApiResponse<T = any> {
  code: number;
  message: string;
  data: T;
}

export interface ApiError {
  code: number;
  message: string;
  details?: any;
}


export interface ApiConfig extends AxiosRequestConfig {
  retry?: boolean;
  retryCount?: number;
  retryDelay?: number;
  withAuth?: boolean;
}
